<?php /* Smarty version Smarty-3.1.21-dev, created on 2015-11-06 16:00:20
         compiled from "H:\WebApplication\myconpany\sumi_mobile\application\views\user\index.html" */ ?>
<?php /*%%SmartyHeaderCode:16213561b28207c4a81-18808842%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'bda9e8f1c7bd8c0c3dc423ab2894ed39a3f59499' => 
    array (
      0 => 'H:\\WebApplication\\myconpany\\sumi_mobile\\application\\views\\user\\index.html',
      1 => 1446694928,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '16213561b28207c4a81-18808842',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.21-dev',
  'unifunc' => 'content_561b282089f228_74052622',
  'variables' => 
  array (
    'user_info' => 0,
    'worker_info' => 0,
    'buylist' => 0,
    'item' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_561b282089f228_74052622')) {function content_561b282089f228_74052622($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ((@constant('APPLICATION_PATH')).("/application/views/header.html"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>


<!--header stop-->
<?php echo $_smarty_tpl->getSubTemplate ((@constant('APPLICATION_PATH')).("/application/views/common/headerusertitle.html"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<!--header end-->

<?php echo '<script'; ?>
 type="text/javascript">
    $(function(){
            var aDent = true;
            var oParent = $('.list-bar');
            var oNodeContent = $('.list-menu');
            oParent.click(function(){
                    if(aDent){
                            oNodeContent.stop().slideDown(500);
                    }else{
                            oNodeContent.stop().slideUp(500);
                    }
                    aDent = !aDent;
            });
        });
<?php echo '</script'; ?>
>

<section class="list-menu" style="display:none;">
    <ul>
            <li>
            <a href="#">
                    <span class="me1-icon mi"></span>
                    <span class="mname">HDPE</span>
                    <span class="fr orange">4527.500 吨</span>
            </a>
        </li>
        <li>
            <a href="#">
                    <span class="me2-icon mi"></span>
                    <span class="mname">LDPE</span>
                    <span class="fr orange">4527.500 吨</span>
            </a>
        </li>
        <li>
            <a href="#">
                    <span class="me3-icon mi"></span>
                    <span class="mname">LLDPE</span>
                    <span class="fr orange">4527.500 吨</span>
            </a>
        </li>
        <li>
            <a href="#">
                    <span class="me4-icon mi"></span>
                    <span class="mname">PP</span>
                    <span class="fr orange">4527.500 吨</span>
            </a>
        </li>
        <li>
            <a href="#">
                    <span class="me5-icon mi"></span>
                    <span class="mname">MLLDPE</span>
                    <span class="fr orange">4527.500 吨</span>
            </a>
        </li>
    </ul>
</section>

<!--content stop-->
<section class="box-user">
    <div class="user-head">
        <p class="p1"><a href="/user/userinfos" ><img src="/images/temp/user.png" width="100%"/></a></p>
        <p class="tac"><?php if ($_smarty_tpl->tpl_vars['user_info']->value['moblie']=='') {
echo $_smarty_tpl->tpl_vars['user_info']->value['login_name'];
} else {
echo $_smarty_tpl->tpl_vars['user_info']->value['moblie'];
}?></p>
    </div>

    <div class="user-icon">
        <ul>
            <li>
                <a href="/user/supply">
                    <span class="menu1-icon micon"><i></i></span>
                    <span class="cate-name">发布报价</span>
                </a>
            </li>

            <li>
                <a href="/user/supplylist">
                    <span class="menu3-icon micon"><i></i></span>
                    <span class="cate-name">报价管理</span>
                </a>
            </li>
            <li>
                <a href="/user/supplyintent">
                    <span class="menu5-icon micon"><i></i></span>
                    <span class="cate-name">意向单</span>
                </a>
            </li>
            <li>
                <a href="/user/buy">
                    <span class="menu2-icon micon"><i></i></span>
                    <span class="cate-name">发布求购</span>
                </a>
            </li>
            <li>
                <a href="/user/buylist">
                    <span class="menu4-icon micon"><i></i></span>
                    <span class="cate-name">求购管理</span>
                </a>
            </li>

            <li>
                <a href="/user/buyintent">
                    <span class="menu6-icon micon"><i></i></span>
                    <span class="cate-name">已收到的报价</span>
                </a>
            </li>
            <li>
                <a href="/user/saleorder">
                    <span class="menu7-icon micon"><i></i></span>
                    <span class="cate-name">我的销售订单</span>
                </a>
            </li>
            <li>
                <a href="/user/purchaseorder">
                    <span class="menu8-icon micon"><i></i></span>
                    <span class="cate-name">我的采购订单</span>
                </a>
            </li>
            <li>
                <a href="/user/sample">
                    <span class="menu9-icon micon"><i></i></span>
                    <span class="cate-name">免费试样</span>
                </a>
            </li>
        </ul>
    </div>

    <div class="my_account_manager">
        <h3 class="myam_t">我的客户经理</h3>
        <div class="myam_w">
            <p class="myam_img"><img src="<?php echo $_smarty_tpl->tpl_vars['worker_info']->value['personpic'];?>
" width="100%"/></p>
            <div  class="myam_text">
                <p>客户经理:<?php echo $_smarty_tpl->tpl_vars['worker_info']->value['realname'];?>
</p>
                <p>联系电话:<?php echo $_smarty_tpl->tpl_vars['worker_info']->value['phone'];?>
</p>
                <p  onclick="javascript:window.open('http://wpa.qq.com/msgrd?v=3&uin=<?php echo $_smarty_tpl->tpl_vars['worker_info']->value['qq'];?>
&site=qq&menu=yes');">企业QQ:<?php echo $_smarty_tpl->tpl_vars['worker_info']->value['qq'];?>
</p>
            </div>
            <div  class="myam_tel">
                <a href="tel:<?php echo $_smarty_tpl->tpl_vars['worker_info']->value['mobile'];?>
">
                    <span class="menu9-icon"><i></i></span>
                    <span class="cate-name">联系客户经理</span>
                </a>
            </div>
        </div>
    </div>


    <div class="my_account_manager">
        <h3 class="myam_t">最新求购</h3>

        <div class="myam_w" style="padding:0;">
            <div class="swiper-slide">
                <table class="ssw_tab">
                    <tr>
                        <th>牌号</th>
                        <th>厂商</th>
                        <th>单价</th>
                        <th>更新时间</th>
                        <th></th>
                    </tr>
                    <?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['buylist']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->_loop = true;
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
                    <tr href="/buy/detail/id/<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
">
                        <td width="60"><p class="ptm1"><?php echo $_smarty_tpl->tpl_vars['item']->value['product_name'];?>
</p></td>
                        <td><?php echo $_smarty_tpl->tpl_vars['item']->value['brand_name'];?>
</td>
                        <td class="orange">￥<?php echo $_smarty_tpl->tpl_vars['item']->value['price'];?>
</td>
                        <td><?php echo $_smarty_tpl->tpl_vars['item']->value['update_time'];?>
</td>
                        <td><img src="/images/icons5.png" width="50%"/></td>
                    </tr>
                    <?php } ?>

                </table>
            </div>


        </div>

    </div>





</section>

<?php echo '<script'; ?>
 type="text/javascript">

$(function(){
    $('.ssw_tab tr').not(":first").click(function(){
        window.location.href=$(this).attr('href');
    });
});
<?php echo '</script'; ?>
>

<!--content end-->

<?php echo $_smarty_tpl->getSubTemplate ((@constant('APPLICATION_PATH')).("/application/views/common/footerlogin.html"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>


<?php echo $_smarty_tpl->getSubTemplate ((@constant('APPLICATION_PATH')).("/application/views/footer.html"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<?php }} ?>
